<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FilterProjectGroup.aspx.cs" Inherits="FilterProjectGroup" culture="auto" uiculture="auto" meta:resourcekey="PageResource1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ OutputCache Duration="1" VaryByParam="none" %> 

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <base target="_self" />
<link href="Ip.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
		<div>
			<table>
				<tr>
					<td><asp:Label ID="lblProjectGroup" runat="server" Text="Project Group" meta:resourcekey="lblProjectGroup"></asp:Label></td>
					<td><asp:TextBox ID="txtProjectGroup" runat="server" meta:resourcekey="txtProjectCodeGroup"></asp:TextBox></td>
					<td><asp:Button ID="btnSearch" runat="server" Text="Search" Width="120px" OnClick="btnSearch_Click" meta:resourcekey="btnSearch" />
				</tr>
			</table>
		</div>
		<div style="text-align: center; vertical-align: middle">
		<fieldset>
			<asp:GridView ID="gvwProjectGroup" runat="server" AllowPaging="True" AutoGenerateColumns="False"
				BackColor="#DEBA84" BorderColor="#660000" BorderStyle="None" BorderWidth="1px"
				CellPadding="3" DataSourceID="ODSProjectGroup" GridLines="Vertical" DataKeyNames="ProjectGroupID" OnSelectedIndexChanged="gvwProjectGroup_SelectedIndexChanged" meta:resourcekey="gvwProjectGroupResource1">
				<Columns>
					<asp:BoundField DataField="ProjectGroupID" HeaderText="Project Group" meta:resourcekey="BoundFieldResource1" />
					<asp:BoundField DataField="Description" HeaderText="Description" meta:resourcekey="sDescription" />
					<asp:BoundField DataField="Type" HeaderText="Type" meta:resourcekey="BoundFieldResource2" />
					<asp:BoundField DataField="TitleSubject" HeaderText="Title/Subject" meta:resourcekey="BoundFieldResource3" />
					<asp:CommandField ShowSelectButton="True" ItemStyle-Width="100" ItemStyle-HorizontalAlign="center" ControlStyle-CssClass="btnEdit" meta:resourcekey="CommandFieldResource1" />
				</Columns>
				<HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
				<RowStyle CssClass="GridRowStyle"/>
				<AlternatingRowStyle CssClass="GridAltRowStyle"/>
				<SelectedRowStyle CssClass="GridSelectedRowStyle"/>
				<PagerStyle CssClass="GridPagerStyle"/>
				<FooterStyle CssClass="GridFooterStyle"/>
			</asp:GridView>
			<asp:ObjectDataSource ID="ODSProjectGroup" runat="server" OldValuesParameterFormatString="original_{0}"
				SelectMethod="GetsProjectGroup" TypeName="ClassLibrary.BusinessLayer.Facade.ProjectGroupFacade" OnSelecting="ODSProjectGroup_Selecting1">
				<SelectParameters>
					<asp:Parameter DefaultValue="_IPMS_ProjectGroupSearch_Sp" Name="SPName" Type="String" />
					<asp:Parameter DefaultValue="" Name="param" Type="Object" />
				</SelectParameters>
			</asp:ObjectDataSource>
			</fieldset>
        </div>
    </form>
</body>
</html>
